package com.gopay.remote.cps.batch;

import com.gopay.common.PageInfo;
import com.gopay.common.domain.bas.BasBatchPayOrderTask;
import com.gopay.common.domain.cps.vo.CPSResponse;

/**
 * 批量付款上传服务接口类
 * 
 * @BatchPayUploadService.java
 * @author fanghw
 * @2013-1-6 下午2:26:39 www.gopay.com.cn Inc.All rights reserved.
 */
public interface BatchPayUploadService {
    
    /**
     * 插入批量付款数据到流水表
     * 
     * @param taskVo
     *            批量任务
     * @return
     */
    public CPSResponse saveBatchFlow(BasBatchPayOrderTask taskVo);
        
    /**
     * 根据任务ID查询批量任务流水
     * @param taskId
     * @return
     */
    public BasBatchPayOrderTask findTaskById(Long taskId);
    
    /**
     * 根据任务ID查询批量订单流水
     * @param taskId
     * @param pageInfo
     * @return
     */
    public PageInfo findOrdersByTaskId(Long taskId,PageInfo pageInfo);
    
    /**
     * 根据任务ID查询批量订单流水
     * @param taskId
     * @param pageInfo
     * @return
     */
    public PageInfo findAirOrdersByTaskId(String taskId,PageInfo pageInfo);
}
